print("欢迎来到xxx成绩录入系统")
print("请输入你要执行的操作")
stuName =['张三','李四']
stuScore =[60,70]
choose = input ("1、查看所有学生的成绩\t2、修改学生成绩\t3、添加学生成绩")
if choose =="1":
    for i in range(len(stuName)):
        print(stuName[i],stuScore[i])

if choose =='2':
    v=input('请输入学生姓名')
    g=input('请输入要修改的分数')
    a=stuName.index(v)
    stuScore[a]=g
    for i in range(len(stuName)):
        print(stuName[i],stuScore[i])
if choose =='3':
    m=str(input("请输入要添加的姓名"))
    n=eval(input("请输入要添加的分数"))
    stuName.append(m)
    stuScore.append(n)
    for i in range(len(stuName)):
            print(stuName[i],stuScore[i])

    list = ['python', 3.14, 99.6]
    print(id(list))
    list[0] = "java"
    print(id(list))
    alist = ['c++', "python", "html"]
    nlist = list + alist
    print(nlist)
    print(nlist[0:6:2])
    name = ["zhangsan", "lisi", "wangwu", "xiaohei"]
    print(name)
    for i in name:
        print(i)
        print(name.index("zhangsan"))
        if 'zhangsan' in name:
            print("zhangsan在名单中，可以正常访问主业")
        if 'xiaobai' not in name:
            print("xiaobai不在名单中，无法访问主页")

    name2 = ["yasuo", 'timo']
    name.append("qwe")
    print(name)
    name.insert(__index: 1, __object: "aaa")
    print(name)
    name.remove("aaa")
    name.pop(0)
